#pragma once

#include "MyLog.h"

namespace my
{
	class WinLogOutput : public LogOutput
	{
	public:
		WinLogOutput();

		void write(const char *name, LogLevel level, const char *text, size_t text_length) override;

		HANDLE m_stdout_handle;
		WORD m_last_attrib;
		std::mutex m_mutex;
	};
}
